<extend name="layout/edit" />

<block name="HEADER">
    
</block>

<block name="CONTENT">
    <control:form id="payForm"/>
</block>

<block name="FOOTER">
	<script type="text/javascript">
		var page = (function(ns){
        
            //页面初始化
            ns.init = function(){
                
            }
            
            //保存
            ns.save=function(){
                var data  =  payForm.getData();
                if(!data) return false;
                $.ajaxs('/admin/v1/security/paySet',data).then(function(){
                    payForm.opener.$.toast(1,'更新成功！')
                    $.close();
                });
            }
		    
		    return ns;
		}({}));
		
		
		$(function(){ page.init();  });
	</script>
</block>